﻿using System.Data.Entity.ModelConfiguration;

namespace RakutenProxy.Model.Rakuten.Mapping
{
    public class ManufacturerMapping : EntityTypeConfiguration<Manufacturer>
    {
        public ManufacturerMapping()
        {
            HasKey(t => t.ManufacturerId);
            ToTable("Manufacturer");

            Property(t => t.ManufacturerName).IsRequired();
        }
    }
}